Enable file locking support for Hurd
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 16 Dec 2025 10:45:36 +0000 (11:45 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Fri, 26 Dec 2025 19:54:51 +0000 (20:54 +0100)
commit8d464b1498b945fbf011d011ae98a593c1104cf6
tree325c84e2e7122046ebe17e74203e453c11969411
parentdeab7287c06b4f9af7000926c0ea440bdb2a4dde
Enable file locking support for Hurd

like Illumos in #148322, Hurd was missed when originally introducing locking
gates per target OS in #132977. building rustc on Hurd was broken as a result
since 1.91.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name Enable-file-locking-support-for-Hurd.patch
library/std/src/fs/tests.rs
library/std/src/sys/fs/unix.rs